﻿using ML.Entity;

namespace ML.IRepository
{
    /// <summary>
    /// 汇率仓储接口
    /// </summary>
    public interface ICurrencyRepository : IBaseRepository<CurrencyEntity>
    {
        /// <summary>
        /// 获取最新一条汇率数据
        /// </summary>
        /// <returns></returns>
        CurrencyEntity GetLastOne();

        Pager<CurrencyResponse> List(CurrencySearch userSearch);
    }
}